﻿<!DOCTYPE html>
<html lang="zh-cn">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
      <script src="@Url.Content("~/Assets/js/jquery.js")" type="text/javascript"></script>
    <!-- Latest compiled and minified CSS -->
       <link href="/assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
   <link href="/assets/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
   <link href="/assets/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>


    <script src="@Url.Content("~/Assets/js/jquery.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Assets/bootstrap/js/bootstrap.min.js")" type="text/javascript"></script>
   <link rel="stylesheet" href="/assets/plugins/data-tables/DT_bootstrap.css" />
   <link href="/assets/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
   <link href="/assets/css/style-conquer.css" rel="stylesheet" type="text/css"/>
   <link href="/assets/css/style.css" rel="stylesheet" type="text/css"/>
   <link href="/assets/css/style-responsive.css" rel="stylesheet" type="text/css"/>
   <link href="/assets/plugins/jquery-file-upload/css/jquery.fileupload-ui.css" rel="stylesheet" />
   <link href="/assets/css/plugins.css" rel="stylesheet" type="text/css"/>
   <link href="/uploadify/uploadify.css" rel="stylesheet" type="text/css" />
   <link href="/Assets/css/custom.css" rel="stylesheet" type="text/css" />

   <link rel="stylesheet" type="text/css" href="/assets/css/datetimepicker.css" />
   
   <link rel="stylesheet" type="text/css" href="/assets/plugins/gritter/css/jquery.gritter.css" />
   <link rel="stylesheet" type="text/css" href="/assets/plugins/select2/select2_conquer.css" />
   <link rel="stylesheet" type="text/css" href="/assets/plugins/bootstrap-datepicker/css/datepicker.css" />
   <link rel="stylesheet" type="text/css" href="/assets/plugins/bootstrap-daterangepicker/daterangepicker-bs3.css" />
   <link rel="stylesheet" type="text/css" href="/assets/plugins/bootstrap-datetimepicker/css/datetimepicker.css" />
   <link rel="stylesheet" type="text/css" href="/assets/plugins/jquery-multi-select/css/multi-select.css" />


      <script type="text/javascript" src="/assets/scripts/bootstrap-datetimepicker.min.js"></script>

    <title>@ViewBag.Title</title>
    <link rel="shortcut icon" href="/favicon.ico" />
  </head>

  <body>

    <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="/home/index">ccms持续集成工具</a>
        </div>
        <div class="collapse navbar-collapse">
          <ul class="nav navbar-nav">

           @if (ViewBag.Role == "版本发布人员")
           {
               <li><a href="/project/projectlist">项目管理</a></li>  
           }
           else if (ViewBag.Role == "开发人员")
           {
               <li><a href="/project/projectlist">项目管理</a></li>
           }
           else if (ViewBag.Role == "开发组长")
           {
               <li><a href="/project/projectlist">项目管理</a></li>
               <li><a href="/review/reviewlist">评审管理</a></li>
               <li><a href="/review/reviewprolist">需求管理</a></li>     
           }
           else if (ViewBag.Role == "管理员")
           {  
             <li><a href="/userorg/userorglist">小组管理</a></li>
             <li><a href="/users/userslist">人员管理</a></li>  
             <li><a href="/project/projectlist">项目管理</a></li>
             <li><a href="/review/reviewlist">评审管理</a></li>
             <li><a href="/report/reportlist">报表管理</a></li>
             <li><a href="/review/reviewprolist">需求管理</a></li>
             <li><a href="/log/loglist">Log日志</a></li>
           }
           @if (ViewBag.Role != null)
           { 
              <li><a href="/home/logout">退出</a></li>
           }
           
              
                                                


          </ul>
        </div><!--/.nav-collapse -->
      </div>
    </div>

    <div class="container" style="width:100%">

       @RenderBody()

    </div><!-- /.container -->
    
    <script type="text/javascript" src="/assets/plugins/data-tables/jquery.dataTables.js"></script>
   <script type="text/javascript" src="/assets/plugins/data-tables/DT_bootstrap.js"></script>
   <script src="/assets/plugins/uniform/jquery.uniform.min.js" type="text/javascript" ></script>
   <script src="/assets/plugins/bootstrap-hover-dropdown/twitter-bootstrap-hover-dropdown.min.js" type="text/javascript" ></script>
   <script src="/assets/plugins/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>
   <!-- IMPORTANT! Load jquery-ui-1.10.3.custom.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->
   <script src="/assets/plugins/jquery-ui/jquery-ui-1.10.3.custom.min.js" type="text/javascript"></script>      
   <script src="/assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
   <script src="/assets/plugins/jquery.blockui.min.js" type="text/javascript"></script>  
   <script src="/assets/plugins/jquery.cookie.min.js" type="text/javascript"></script>
   <script src="/Assets/layer/layer.min.js" type="text/javascript"></script>
   <script type="text/javascript" src="/assets/plugins/select2/select2.min.js"></script>
   <script type="text/javascript" src="/assets/plugins/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
   <script type="text/javascript" src="/assets/plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.js"></script>
   <script type="text/javascript" src="/assets/plugins/bootstrap-timepicker/js/bootstrap-timepicker.js"></script>
   <script type="text/javascript" src="/assets/plugins/jquery-inputmask/jquery.inputmask.bundle.min.js"></script>   
   <script type="text/javascript" src="/assets/plugins/jquery-multi-select/js/jquery.multi-select.js"></script>
   <script type="text/javascript" src="/assets/plugins/jquery-multi-select/js/jquery.quicksearch.js"></script>   
   <script src="/assets/plugins/bootstrap-maxlength/bootstrap-maxlength.min.js" type="text/javascript" ></script>   <script src="/assets/scripts/form-components.js"></script>  
   
  
 
   <script src="/assets/scripts/app.js"></script>
   <script src="/Assets/scripts/form-samples.js" type="text/javascript"></script>
      <script>
          jQuery(document).ready(function () {
              App.init();
              FormComponents.init();
          });



          var nav = jQuery(".navbar-nav li");
          var controller = '@ViewContext.RouteData.Values["controller"].ToString().ToLower()';
          var action = '@ViewContext.RouteData.Values["action"].ToString().ToLower()';

   </script>

  </body>

</html>

